resolved the errors (one resolution seems to be a bit shitty, well still it works