Capacitor status bar is showing an extra bar and the color only changes on the bottom one android

I have ionic capacitor app that uses angular framework and I cant seem to get the status bar to work normally as intended, i try to change the color but not the whole status bar changes, and the top part of the status bar remains invisible.

this is my code

StatusBar.setOverlaysWebView({ overlay: false });
await StatusBar.setStyle({ style: Style.Default });      
await StatusBar.setBackgroundColor({ color: '#000000' });