fixed derivatives and detail mapping